<?php
require_once('../config.php');
require_once(ROOT.'includes/db.php');
require_once(ROOT.'includes/user.php');
require_once(ROOT.'main/header.php');

$user_id = $_GET['id'];
$activation_key = $_GET['key'];
if(!isset($user_id) || !isset($activation_key)){
	js_redirect('请稍等',HOME_URL );
}else{
	activateUser($user_id, $activation_key);
}

?>